<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head>
</h:head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<title>SISTEMA</title>

 <h:body>
    <p:dialog id="idFotos" header="Galeria de Imagens:" modal="true" width="800" height="400" widgetVar="galeriaTable">
    	<p:lightBox>
     	<ui:repeat var="foto" value="#{estabelecimentoMB.fotos}">
     	  <h:outputLink value="../temp/#{foto.id}.jpg" title="#{foto.nome}"> 
          	<p:graphicImage value="/temp/#{foto.id}.jpg" width="80" height="80" style="padding: 10px; border:2px;"/>
          </h:outputLink>
         </ui:repeat>
       </p:lightBox>   
   </p:dialog>
 </h:body>
</html>

